package cn.dbqn.service;

import cn.dbqn.dao.DrugoutMapper;
import cn.dbqn.entity.Drugout;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DrugoutService {
    @Autowired
    private DrugoutMapper drugoutMapper;

    public List<Drugout> findALlYpck(){
        return drugoutMapper.findAll();
    }

    public Drugout ypckxx(Integer doutno){
        return drugoutMapper.ypckxx(doutno);
    }
}
